
<template>
  <div class="list-container">
    <div style="display: flex">
      <el-checkbox></el-checkbox>
      <span>id{{item.id}}</span>
    </div>
    <span>name{{item.count}}</span>
    <span>age{{item.count}}</span>
  </div>
</template>

<script>
  export default {
    props: {
      item:Object,
    },
  };
</script>

<style  scoped>
  .list-container{
    margin: 0 auto;
    width: 500px;
    text-align: center;
    height: 54px;
    padding: 1em;
    display: grid;
    box-sizing: border-box;
    grid-template-columns: repeat(3,1fr);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  }
</style>
